package org.example.main;

import org.apache.commons.lang3.StringUtils;
import org.example.domain.CustomerDO;

/**
 * @Author: WangShengJie
 * @Date: 2025/5/26
 */
public class SQLDateDemo {
    public static void main(String[] args) {
        String date = "";
        CustomerDO customerDO = new CustomerDO();
        if (StringUtils.isNotBlank(date)) {
            customerDO.setBirthday(java.sql.Date.valueOf(date));
        }
        System.out.println(customerDO.getBirthday());

    }
}
